package com.yootk;
import java.io.*;
public class YootkDemoInputStream {
    public static void main(String[] args) throws Exception {
        File file = new File("H:" + File.separator + "yootk.txt");
        try (InputStream input = new FileInputStream(file)) {
            byte data[] = new byte[1024];
            int len = input.read(data);
            System.out.println("读取到的数据【" + new String(data, 0, len) + "】");
        }
    }
}